//
//  LYDataSourceManager.h
//  artist
//
//  Created by Jay_Apple on 16/4/15.
//  Copyright © 2016年 viviyoo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LYTypes.h"
@class LYMineHeaderModel;
@class LYLoginInfoModel;
@class LYLocationInfo;
@class LYIntoductionModel;

@interface LYDataSourceManager : NSObject

@property (nonatomic, strong, readonly) LYUserInfoModel *userInfo;

@property (nonatomic, assign, readonly) roleType type;

@property (nonatomic, strong, readonly) LYLoginInfoModel *loginInfo;

@property (nonatomic, strong, readonly) LYLocationInfo *locationInfo;


+ (instancetype)sharedManager;

/**
 *  定位城市地区
 */
- (void)setUpLocationInfo;


/**
 *  发布按钮
 */
- (UIImage *)getPublishBtnImage;
- (UIImage *)getPublishBtnHighlightImage;

/**
 *  首页rightItem
 */
- (UIImage *)getHomeRightItemImage;

/**
 *  我的页面背景图
 */
- (UIImage *)getMineHeaderBGImage;

/**
 *  我的页面列表plist
 */
- (NSString *)getMineListName;

/**
 *  我的头部Items
 */
- (NSArray <NSDictionary *>*)getMineHeaderItems;

/**
 *  我的header模型
 */
- (LYMineHeaderModel *)getMineHeaderModel;

/**
 *  获取收藏列表模型
 */
- (Class)getCollectListClassWithType:(ObjectType)type;

/**
 *  重置用户信息
 */
- (void)resetUserInfo;

/**
 *  我的简介
 */
- (NSArray <LYIntoductionModel *> *)getIntroductionModels;

@end
